#!/bin/bash

for i in `ls -tr /var/log/httpd/access.log.2*`;
do 
  /usr/bin/webalizer -c /etc/webalizer.conf -n hostname.com $i
done

